"use strict";
import base from './base.js';
// 公用配置
const apiUrl = base.apiUrl;
const config = {
  //当前提交的小程序版本
  version:'2.22.6',
  api: {
    // 登录
    login: `${apiUrl}/login`,
    userInfo:`${apiUrl}/account/userInfo`,
    
    //获取店铺商品详情
    goods: `${apiUrl}/storeGoods`,

    // 下单
    createOrder: `${apiUrl}/create_order`,
    // 支付
    payOrder: `${apiUrl}/pay_order`,
    // 邻钱
    linMoney:`${apiUrl}/linMoney`,

    //订单列表
    orderlist: `${apiUrl}/order_list`,

    //查询售后订单
    querysaleorderlist: `${apiUrl}/sale_order_list`,

    //订单详情
    orderinfo: `${apiUrl}/order_info`,

    //修改订单状态
    updatestatuswaitcancel: `${apiUrl}/update_order_status`,

    //物流详情
    tracklogistics: `${apiUrl}/track_logistics`,

    
    //获取明星店铺
    starstore: `${apiUrl}/starStore`,

    //所在城市的店铺
    historystore: `${apiUrl}/historyView`,

    //所在城市的店铺
    citystore: `${apiUrl}/cityStore`,

    //买家地理位置
    querylocation: `${apiUrl}/account/location`,

    //店铺详情
    querystoreinfo: `${apiUrl}/getStoreInfo`,

    //查询二维码
    querycode: `${apiUrl}/getQrCode`,

    //查询店铺商品列表
    querystorelist: `${apiUrl}/storeGoods/list`,

    //二维码
    getcode: `https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=10_de9vUq5EZcz0nqBDFTJLYKsWs9tnalh48u9TVrG_T82MbsoXGBPPsC0mz_B87HbEaM7Mf6yUsoSrNjezEARLQvVgCEKkk3CURK4uFOQzaOeyMTrkjQz4PnCIjNMPSEcAFATWI`,

    //邻钱明细
    linMoney: `${apiUrl}/linMoney`,

    //邻钱明细
    linMoneyDetail: `${apiUrl}/linMoneyDetail`,

    //抽奖
    getPrize: `${apiUrl}/getPrize`,

    //获取订单数
    getordernumber: `${apiUrl}/get_order_number`,

    //领取红包记录
    getredpackage: `${apiUrl}/getRedPackageList`,

    //个人中心优惠券列表
    getinfocouponlist: `${apiUrl}/get_info_coupon_list`,

    //获取优惠券数量
    getcouponnum: `${apiUrl}/get_coupon_num`,

    //创建订单的优惠券列表
    createlist: `${apiUrl}/get_create_order_coupon_list`,

    //参加活动
    joinactive: `${apiUrl}/join_active`,

    //领取优惠券
    receiveaj: `${apiUrl}/join_active`,

    //收集formid
    formid: `${apiUrl}/formId`,

    //获取创建订单红包列表
    redpack: `${apiUrl}/get_create_order_redpacket_list`,

    //2.0店铺页领取红包
    getBountyBonus: `${apiUrl}/getIndividualsReceiveRedEnvelopes`,

    //2.0特惠商品列表
    getcheap_goods: `${apiUrl}/cheap_goods`,

    //2.0特惠商品活动状态
    cheap_status: `${apiUrl}/cheap_status`,

    //2.0个人红包 明细
    getBountyBonusDetails: `${apiUrl}/getIndividualBonusDetails`,

    //2.0赏金 提现
    bountywithdraw: `${apiUrl}/bounty/withdraw`,

    //授权手机号
    phoneNumber: `${apiUrl}/account/phoneNumber`,

    //2.0赏金 提现 发送验证码
    bountywithdrawVerifyCode: `${apiUrl}/bounty/withdrawVerifyCode`,

    //2.0获取可提现赏金，累计赏金，在路上的赏金
    getBounty: `${apiUrl}/bounty/getallBounty`,

    //2.0获取在路上赏金的详情
    bountygetBonusList: `${apiUrl}/bounty/getBonusList`,

    //2.0获取累计赏金的详情
    bountygetBountyBillList: `${apiUrl}/bounty/getBountyBillList`,

    //2.0 创建红包
    getSendRedEnvelope: `${apiUrl}/getSendRedEnvelope`,

    //根据id获取买家信息
    customerInfo: `${apiUrl}/customerInfo`,

    //分享出去的图片
    shareimg: `${apiUrl}/goods_share`,

    //店铺分享图片
    getstore_share: `${apiUrl}/store_share`,

    //提交申请售后信息
    submission: `${apiUrl}/saleAfter/apply`,
    
    //创建申请售后
    saleAfterCreate: `${apiUrl}/saleAfter/create`,

    //提交撤销售后/提交退货物流
    saleAfterUpdate: `${apiUrl}/saleAfter/update`,

    //获取退单详情
    saleAfterGetInfo: `${apiUrl}/saleAfter/getInfo`,

    //获取物流
    saleAfterGetExpress: `${apiUrl}/saleAfter/getExpress`,

    //提交售后上传图片
    uploadimage: `${apiUrl}/uploadImg`,

    //获取供应商退货地址
    getsupplieraddr: `${apiUrl}/get_supplier_addr`,

    // 买家热销商品
    customerRecommend: `${apiUrl}/customerRecommend`,

    //进入排行榜获取排行榜数据
    getRankingList: `${apiUrl}/getSignRank`,

    //排行榜页面获取分享图片
    getShareImage: `${apiUrl}/signShareimg`,
    
    //排行榜页面获取昨天是否有贝壳
    shellBlue: `${apiUrl}/join_active`,

    //排行榜存在没有领取的贝壳开始领取
    receiveAjax: `${apiUrl}/`,

    //领取贝壳
    conchlist: `${apiUrl}/conch_list`,

    //查看买家贝壳数
    getconch: `${apiUrl}/conch`,

    //贝壳收支明细
    conchbill: `${apiUrl}/conchBill`,

    //签到接口
    signconch: `${apiUrl}/sign`,

    //签到详情接口
    showdays: `${apiUrl}/showdays`,

    //通过邀请获得的贝壳数和好友头像
    showshareUser: `${apiUrl}/showShareUser`,

    //获取卖家运动步数
    getstep: `${apiUrl}/user_step`,

    getstepconch: `${apiUrl}/step_conch`,
    
    //签到提醒
    setremind: `${apiUrl}/setRemind`,
    
    //分享增加抽奖机会
    saveSharePrize: `${apiUrl}/saveSharePrize`,

    //分享增加抽奖机会
    gettaskstatus: `${apiUrl}/customer_task`,

    //用贝壳兑换抽奖机会
    conchToPrizenum: `${apiUrl}/conchToPrizenum`,

    //领取买家任务贝壳
    addconch: `${apiUrl}/task_recieve`,

    // 2.9贝壳专区
    getConchGoods: `${apiUrl}/conch_goods`,

    //优惠券码兑换优惠券
    codeconvert: `${apiUrl}/code_convert_coupon`,

    //助力商品详情
    getdetail: `${apiUrl}/collageOrder/getDetail`,

    //免费拿商品列表
    collagegoodslist: `${apiUrl}/collageGoods/getList`,

    //从分享进入助力页面
    collagefriendcheck: `${apiUrl}/collageFriend/check`,

    //点击给好友助力
    collagefriendadd: `${apiUrl}/collageFriend/add`,

    //我的免费拿订单列表
    collageorderlist: `${apiUrl}/collage_order_list`,

    //检测免费拿的次数
    firstCheck: `${apiUrl}/collageOrder/firstCheck`,
    
    //正在免费拿接口
    collage: `${apiUrl}/collageOrder/carousel`,

    //发起拼团订单
    initiatecollageorder: `${apiUrl}/initiate_collage_order`,

    //创建正式拼团订单
    createorder: `${apiUrl}/create_collage_order`,

    //全部分类名称
    categorylist: `${apiUrl}/category_list`,

    //全部分类下属商品
    customercategory: `${apiUrl}/customer_category`,

    // 创建群接龙订单
    create_solitaire_order: `${apiUrl}/create_solitaire_order`,

    // 支付群接龙订单
    pay_solitaire_order: `${apiUrl}/pay_solitaire_order`,

    //群接龙商品列表
    groupgoodslist: `${apiUrl}/solitaire_goods_list`,

    // 群接龙订单列表
    solitaireorderlist: `${apiUrl}/solitaire_order_list`,

    //群接龙轮播
    shufflingorder: `${apiUrl}/shuffling_order`,

    //获取接龙商品详情
    solitaireGoods: `${apiUrl}/solitaireGoods/getInfo`,
    
    //群接龙商品详情订单列表
    getOrderList: `${apiUrl}/solitaireGoods/getOrderList`,

    //获取抽奖任务详情
    getPrizeTask: `${apiUrl}/getPrizeTask`,

    //获取商品对应推荐好货（关联推荐商品）
    getRecommend: `${apiUrl}/getRecommend`,

    //用户完成浏览商品60秒任务
    browserGoodsMine: `${apiUrl}/BrowserGoodsMine`,

    //贝壳兑换优惠券列表
    couponsconchlist: `${apiUrl}/couponsConchList`,

    //检测商品是否限购
    purchase: `${apiUrl}/get_limit_purchase`,


    //贝壳兑换优惠券
    getcouponsconch: `${apiUrl}/getCouponsConch`,

    //浏览商品领取贝壳
    sendconch: `${apiUrl}/sendConch`,
    
    // 2.12.0活动专区专题
    getspecialtype: `${apiUrl}/SpecialGoods/getList`,

    // 2.12.0活动专区专题下属
    getspecialList: `${apiUrl}/SpecialGoods/getGoodsList`,

    //等待召唤列表
    showRecallFriend: `${apiUrl}/showRecallFriend`,


    //召唤好友头像
    showrecallfriendpic: `${apiUrl}/showRecallFriendPic`,

    //召唤成功列表
    successRecallFriend: `${apiUrl}/successRecallFriend`,

    //连续签到七天，领3元提示（首页，详情页，签到页）
    signdayremind: `${apiUrl}/signDayRemind`,
    
    //邀请好友获得抽奖次数
    invitedsign: `${apiUrl}/InvitedSign`,

    //连续七天签到24小时内下单领3元提示
    ifsignsuccess: `${apiUrl}/ifSignSuccess`, 

    // 砍价列表
    getBargainList: `${apiUrl}/getBargainList`, 

    // 检查当前商品状态
    bargainCheck: `${apiUrl}/bargainCheck`, 

    //我的砍价列表
    BargainUser: `${apiUrl}/BargainUser`, 

    //砍价排行榜
    getbargainfriendList: `${apiUrl}/BargainOrder/getFriendList`, 

    //正在1分钟免费拿轮播
    getCycleMsg: `${apiUrl}/BargainOrder/getCycleMsg`,

    //砍价商品详情
    getBargainGoods: `${apiUrl}/BargainOrder/getBargainGoods`,

    //砍价订单详情
    getbargainorderdetail: `${apiUrl}/BargainOrder/getOrderDetail`,

    //点击给好友砍价
    bargainFriend: `${apiUrl}/bargainFriend`,

    //获取砍价订单详情
    getOrderDetail: `${apiUrl}/BargainOrder/getOrderDetail`,

    //创建正是砍价订单
    create_bargain_order: `${apiUrl}/create_bargain_order`,

    //支付砍价订单
    pay_bargain_order: `${apiUrl}/pay_bargain_order`,

    // 发起砍价订单
    init_bargain_order: `${apiUrl}/init_bargain_order`,

    // 搜索列表
    customerSearch: `${apiUrl}/customerSearch`,

    //搜索关键词
    hotkeyword: `${apiUrl}/hot_keyword`,

    //抽奖领取（付钱）
    wxPayMoneyToCustomer: `${apiUrl}/prize/wxPayMoneyToCustomer`,

    //通过邀请好友签到的头像和数量
    showshareinfo: `${apiUrl}/showShareInfo`,

    //检查是否要显示开店通道
    showcheck: `${apiUrl}/showCheck`,

    //可提现余额明细
    getbilllist: `${apiUrl}/getBillList`,

    //获取提现验证码
    withdrawverifycode: `${apiUrl}/withdrawVerifyCode`,

    //提现
    withdraw: `${apiUrl}/withdraw`,

    //获取用户余额
    getcustomerbalance: `${apiUrl}/getCustomerBalance`,
    
    //商品评价
    savegoodsappraises: `${apiUrl}/saveGoodsAppraises`,

    // 海外直邮列表
    getZyGoodsList: `${apiUrl}/getZyGoodsList`,

    // 西集物流追踪
    trackslogisticsxiji: `${apiUrl}/track_slogisticsxiji`,

    //获取订单页的余额抵现金额
    customerbalance: `${apiUrl}/customer_balance`,

    //获取当前用户的身份证号码
    user_id_card: `${apiUrl}/user_id_card`,



    //最下一行，请往上填
    getBaseUrl: `${apiUrl}/ping`
  },
  baseResult: {
    errMsg: "request:ok",
    data: {},
    statusCode: 200
  },
  nameSpace: {
    cookieName: "userCookies"
  }
};

module.exports = config;